from django.urls import path,re_path
from . import views
urlpatterns = [
    path('register/', views.RegisterView.as_view()),
    re_path(r"^usernames/(?P<username>\w{5,20})/count/$", views.CheckUserameView.as_view()),
    re_path(r'^mobiles/(?P<mobile>\d+)/count/$',views.CheckPhoneView.as_view()),
    re_path(r'^login/$',views.LoginView.as_view())
]